package com.ajie.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value="课程实体")
public class Course {
    
    @ApiModelProperty(value = "主键")
    private Long id;
    
    @ApiModelProperty(value = "标题")
    private String title;
    
    @ApiModelProperty(value = "详细描述")
    private String introduce;
    
    @ApiModelProperty(value = "封面路径")
    private String picCover;
    
    @ApiModelProperty(value = "视频路径")
    private String videoPath;
    
    @ApiModelProperty(value = "创建时间")
    private String createTime;
    
    @ApiModelProperty(value = "创建人")
    private Long createUid;
    
    @ApiModelProperty(value = "删除标记")
    private boolean del;
    
    @ApiModelProperty(value = "浏览量")
    private Long lookNum;
    
    @ApiModelProperty(value = "点赞量")
    private Long likeNum;
    
    @ApiModelProperty(value = "收藏量")
    private Long favouriteNum;
    
    @ApiModelProperty(value = "浏览时间")
    private String lookTime;
    
    @ApiModelProperty(value = "点赞时间")
    private String likeTime;
    
    @ApiModelProperty(value = "收藏时间")
    private String favouriteTime;
    
    @ApiModelProperty(value = "是否浏览")
    private Boolean look;
    
    @ApiModelProperty(value = "是否点赞")
    private Boolean like;
    
    @ApiModelProperty(value = "是否收藏")
    private Boolean favourite;
}
